<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers                           |
// |                                                                      |
// | http://www.zen-cart.com/index.php                                    |
// |                                                                      |
// | Portions Copyright (c) 2003 osCommerce                               |
// |                                                                      |
// |   DevosC, Developing open source Code                                |
// |   Copyright (c) 2004 DevosC.com                                      |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.zen-cart.com/license/2_0.txt.                             |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to       |
// | license@zen-cart.com so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
//  $Id: payease.php 001 2008-03-20 Jack $
//

 class payease {
   var $code, $title, $description, $enabled;
  /**
   * order status setting for pending orders
   *
   * @var int
   */
   var $order_pending_status = 1;
  /**
   * order status setting for completed orders
   *
   * @var int
   */
   var $order_status = DEFAULT_ORDERS_STATUS_ID;

// class constructor
   function payease() {
     global $order;
       $this->code = 'payease';
    if ($_GET['main_page'] != '') {
       $this->title = MODULE_PAYMENT_PAYEASE_TEXT_CATALOG_TITLE; // Payment Module title in Catalog
    } else {
       $this->title = MODULE_PAYMENT_PAYEASE_TEXT_ADMIN_TITLE; // Payment Module title in Admin
    }
       $this->description = MODULE_PAYMENT_PAYEASE_TEXT_DESCRIPTION;
       $this->sort_order = MODULE_PAYMENT_PAYEASE_SORT_ORDER;
       $this->enabled = ((MODULE_PAYMENT_PAYEASE_STATUS == 'True') ? true : false);
       //if ((int)MODULE_PAYMENT_PAYEASE_ORDER_STATUS_ID > 0) {
         //$this->order_status = MODULE_PAYMENT_PAYEASE_ORDER_STATUS_ID;
       //}
	   $this->order_status = MODULE_PAYMENT_PAYEASE_ORDER_STATUS_ID;
       if (is_object($order)) $this->update_status();
       $this->form_action_url = MODULE_PAYMENT_PAYEASE_HANDLER;

   }

// class methods
   function update_status() {
     global $order, $db;

     if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_PAYEASE_ZONE > 0) ) {
       $check_flag = false;
       $check_query = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_PAYEASE_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id");
       while (!$check_query->EOF) {
         if ($check_query->fields['zone_id'] < 1) {
           $check_flag = true;
           break;
         } elseif ($check_query->fields['zone_id'] == $order->billing['zone_id']) {
           $check_flag = true;
           break;
         }
                 $check_query->MoveNext();
       }

       if ($check_flag == false) {
         $this->enabled = false;
       }
     }
   }

   function javascript_validation() {
     return false;
   }

   function selection() {
              return array('id' => $this->code
            ,'module' => '<strong class="big3 black">Credit or Debit Card</strong>'.MODULE_PAYMENT_PAYEASE_TEXT_CATALOG_LOGO.'Internationally accepted, no matter where you are. ',
        'icon' => MODULE_PAYMENT_PAYEASE_TEXT_CATALOG_LOGO,
		'info' => MODULE_PAYMENT_PAYEASE_BOX_DESCRIPTION,
		 'discount' => MODULE_PAYMENT_PAYEASE_DISCOUNT_PRECENT);

   }

   function pre_confirmation_check() {
     return false;
   }

   function confirmation() {
	global $order,$order_total_modules,$order_totals,$zco_notifier,$insert_id;        
    $zco_notifier->notify('NOTIFY_CHECKOUT_PROCESS_BEGIN');        // if the customer is not logged on, redirect them to the time out page        
    if (!$_SESSION['customer_id']) 
    {            
           zen_redirect(zen_href_link(FILENAME_TIME_OUT));        
    } 
    else 
    {            // validate customer            
		if (zen_get_customer_validate_session($_SESSION['customer_id']) == false) 
		{                
			$_SESSION['navigation']->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_SHIPPING));                
			zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));            
		}        
	}        
	if(isset($mycartID)&&$mycartID == $_SESSION['cart']->cartID)
	{            
	    return array('title' => MODULE_PAYMENT_PAYEASE_TEXT_DESCRIPTION);        
	}               
	$mycartID = $_SESSION['cart']->cartID;       
	$order = new order;        // prevent 0-entry orders from being generated/spoofed        
	if (sizeof($order->products) < 1) 
	{            
	    zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));        
	}        
	$order_total_modules = new order_total;        
	$zco_notifier->notify('NOTIFY_CHECKOUT_PROCESS_BEFORE_ORDER_TOTALS_PRE_CONFIRMATION_CHECK');        
	//$order_totals = $order_total_modules->pre_confirmation_check();        
	$zco_notifier->notify('NOTIFY_CHECKOUT_PROCESS_BEFORE_ORDER_TOTALS_PROCESS');        
	$order_totals = $order_total_modules->process();        
	$zco_notifier->notify('NOTIFY_CHECKOUT_PROCESS_AFTER_ORDER_TOTALS_PROCESS');        
	if (!isset($_SESSION['payment']) && !$credit_covers) 
	{            
	     zen_redirect(zen_href_link(FILENAME_DEFAULT));        
	}        // load the before_process
	// load the before_process function from the payment modules        
	//$zco_notifier->notify('NOTIFY_CHECKOUT_PROCESS_AFTER_PAYMENT_MODULES_BEFOREPROCESS');        
	// create the order record        
	$insert_id = $order->create($order_totals, 2);        
	require(DIR_WS_LANGUAGES.'english/email_extras.php');        
	require(DIR_WS_LANGUAGES.'english/checkout_process.php');        
	// store the product info to the order        
	$order->create_add_products($insert_id);        
	$_SESSION['order_number_created'] = $insert_id;  
	//发邮件
	//$order->send_order_email($insert_id, 2);	
	$zco_notifier->notify('NOTIFY_CHECKOUT_PROCESS_AFTER_ORDER_CREATE_ADD_PRODUCTS'); 
	
		//if (is_array($order_total_modules->modules)) 
	   // {
		//  reset($order_total_modules->modules);
		//  while (list(, $value) = each($order_total_modules->modules)) 
		//  {
		//	   $class = substr($value, 0, strrpos($value, '.'));
        //       if (!isset($GLOBALS[$class])) continue;
        //       $GLOBALS[$class]->output=null;
        //  }
      //  }
	  
	   //$_SESSION['cart']->reset(true);
		
        //$zco_notifier->notify('NOTIFY_CHECKOUT_PROCESS_AFTER_SEND_ORDER_EMAIL');
		
		
        return array('title' => MODULE_PAYMENT_PAYEASE_TEXT_DESCRIPTION);
   }

   function process_button() {

     global $db, $order, $currencies,$insert_id,$order_totals;        
      $MD5key = MODULE_PAYMENT_PAYEASE_MD5KEY;				// MD5私钥        
      $v_mid = MODULE_PAYMENT_PAYEASE_SELLER;				// 商户编号        
      $v_ymd =date("Ymd");					        // 订单产生日期   
	  $v_websiteid = '2';                           // 网站编号
      $v_oid = $v_ymd . '-' . $v_mid . '-' . date("his").'-'.$_SESSION['order_number_created'].'-'.$v_websiteid;	// 订单编号        
      $v_orderstatus = '1';		// 商户配货状态，0为未配齐，1为已配齐        
      
	  // 支付币种，0为人民币，1为美元
	  if (MODULE_PAYMENT_PAYEASE_MONEYTYPE == 'CNY') 
      {           
             $v_moneytype = '0';        
      } 
      else 
      {            
          $v_moneytype = '1';       
      }							        
	  // 网站的操作系统    
	 if (MODULE_PAYMENT_PAYEASE_OSTYPE == 'Windows') 
      {            
             $v_ostype = 'MD5Win32';        
      } 
      else 
      {            
          $v_ostype = 'MD5Linux';        
       }							    
       $v_amount = number_format(($order->info['total']) * $currencies->get_value(MODULE_PAYMENT_PAYEASE_MONEYTYPE), 2, '.', '');	//金额        
       $this->v_oid = $v_oid;        
       $this->v_amount = $v_amount;     
 	   //返回地址	   
       $v_url = zen_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL');
       //$v_url = 'http://www.head-trade.com/payeasy_handler.php'; 
       if ($_SESSION['language'] == 'english') 
       {            
             $Language = '2';        
       } 
       else 
       {           
           $Language = '1';        
       }		//语言        
       $v_rcvname = $v_mid;			// 收货人姓名，统一用商户编号的值代替        
       
	   $v_ordername = $v_mid;
	   $v_rcvaddr = $v_mid;
      
	   $v_rcvtel = $v_mid ;
	   $v_rcvpost = $v_mid;	// 收货人邮政编码        
       $md5src = $v_moneytype.$v_ymd.$v_amount.$v_rcvname.$v_oid.$v_mid.$v_url;	// 校验源字符串  
	   
       $dirbase=DIR_FS_CATALOG . DIR_WS_MODULES . "payment/";        
       exec($dirbase.$v_ostype." $md5src $MD5key",$v_md5info,$res);   
	      
	 
	   $v_shipstreet = $order->customer['street_address'];
	   $v_shipcity = $order->customer['city'];
	   $v_state = $order->customer['state'];
	   $v_country = $order->customer['country']['title'];
	   
	   
	   $v_state_sql = $db->Execute("select zone_code from " . TABLE_ZONES . " where zone_name= '".$v_state ."'");
	   $v_shipstate = $v_state_sql -> fields['zone_code'];
	   
	   if(!$v_shipstate ||$v_shipstate == ''){
			$v_shipstate = $v_state;
	   }
	   $country_code = $db ->Execute("select country_code from " . TABLE_COUNTRIES . " where countries_name='".$v_country ."'");
	   
	   $v_shipcountry = $country_code -> fields['country_code'];
	   $v_shippost = $order->delivery['postcode'];	
	   $v_shipphone = preg_replace('/\D/', '', $order->delivery['phone']); 

	   if($v_shipphone == null || $v_shipphone == '')
	   {
			//如果没有则设置一个默认值
			$v_shipphone = '123456789';
	   }
	   $v_shipemail = $order->customer['email_address'];

       //$v_md5info=bin2hex(mhash(MHASH_MD5,$md5src,$MD5key));        
       $process_button_string = zen_draw_hidden_field('v_mid', $v_mid) .        
						zen_draw_hidden_field('v_oid', $v_oid) .        
						zen_draw_hidden_field('v_rcvname', $v_rcvname) .        
						zen_draw_hidden_field('v_rcvaddr', $v_rcvaddr) .        
						zen_draw_hidden_field('v_rcvtel', $v_rcvtel) .        
						zen_draw_hidden_field('v_rcvpost', $v_rcvpost) .        
						zen_draw_hidden_field('v_amount', $v_amount) .        
						zen_draw_hidden_field('v_ymd', $v_ymd) .        
						zen_draw_hidden_field('v_orderstatus', $v_orderstatus) .        
						zen_draw_hidden_field('v_ordername', $v_ordername) .        
						zen_draw_hidden_field('v_moneytype', $v_moneytype) .        
						zen_draw_hidden_field('v_url', $v_url) .        
						zen_draw_hidden_field('v_md5info',$v_md5info[0]) . //$v_md5info[0]) .   
						zen_draw_hidden_field('v_shipstreet', $v_shipstreet) . 
						zen_draw_hidden_field('v_shipcity', $v_shipcity) . 
						zen_draw_hidden_field('v_shipstate', $v_shipstate) . 
						zen_draw_hidden_field('v_shippost', $v_shippost) .
						zen_draw_hidden_field('v_shipcountry', $v_shipcountry) .
						zen_draw_hidden_field('v_shipphone', $v_shipphone) .
						zen_draw_hidden_field('v_shipemail', $v_shipemail) .
                        zen_draw_hidden_field('Remark', $Remark);        
                        return $process_button_string;    


   }

   function before_process() {

     global $_POST, $order, $currencies, $messageStack;

	
	$v_oid = $_POST["v_oid"];
	
	$v_pstatus = $_POST["v_pstatus"];
	
	$v_pstring = urldecode($_POST["v_pstring"]);
	
	$v_pmode = urldecode($_POST["v_pmode"]);
	
	$v_md5info = $_POST["v_md5info"];

	$v_amount =$_POST["v_amount"];
	
	$v_moneytype = $_POST["v_moneytype"];

	$v_md5money = $_POST["v_md5money"]; 

	$v_sign = $_POST["v_sign"];

	if (MODULE_PAYMENT_PAYEASE_OSTYPE == 'Windows') 
    {            
        $v_ostype = 'MD5Win32';        
    } 
    else 
    {            
        $v_ostype = 'MD5Linux';        
     }						

	$MD5key = MODULE_PAYMENT_PAYEASE_MD5KEY;
	
	$md5src1 = $v_oid.$v_pstatus.$v_pstring.$v_pmode;
	
    $md5sign1=bin2hex(mhash(MHASH_MD5,$md5src1,$MD5key));

    $md5src2 = $v_amount . $v_moneytype;

    $md5sign2=bin2hex(mhash(MHASH_MD5,$md5src2,$MD5key));
	

	 if (MODULE_PAYMENT_PAYEASE_MONEYTYPE == 'CNY') {
      $o_moneytype = '0';
     } else {
      $o_moneytype = '1';
     }							
	 
//用于写入Zen Cart后台订单历史记录中的数据
    $this->v_oid = $v_oid;
    $this->v_amount = $v_amount; 
	$this->v_pstatus = $v_pstatus;
	$this->v_pstring = $v_pstring;
	$this->v_pmode = $v_pmode;
	$this->v_md5info = $v_md5info;
	$this->v_moneytype = $v_moneytype;
	$this->v_md5money = $v_md5money;
	$this->v_sign = $v_sign;
	$this->v_md5src1 = $v_md5src1;
	$this->v_md5src2 = $v_md5src2;
	$this->md5sign1 = $md5sign1;
	$this->md5sign2 = $md5sign2;
	$this->o_moneytype = $o_moneytype;
	
	return true;
	
    }
	
   function before(){
		zen_redirect(zen_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'));
   }

   function after_process() {
	  global $_POST,$order,$insert_id,$db,$currencies, $messageStack; 
	  
	  if ($this->v_md5info==$this->md5sign1) 
		{
			if ($this->v_md5money==$this->md5sign2) 
			{ 
				if($this->v_pstatus=='30')
				{
					$messageStack->add_session('checkout_payment', 'The payment has failed. Please check your operation and try again or contract to us!', 'error');
					$db->Execute("insert into " . TABLE_ORDERS_STATUS_HISTORY . " (comments, orders_id, orders_status_id, date_added) values ('Trans. ID:" . $this->v_oid . "\n Gross Amount:" . $this->v_amount . "\n Currency: " . MODULE_PAYMENT_PAYEASE_MONEYTYPE."\n Payment Status: Payment Failed". " ' , '". (int)$_SESSION['order_number_created'] . "','" . '1' . "', now() )");   
					$db->Execute("update " . TABLE_ORDERS . " set orders_status='" . '1' . "' where orders_id='" . $_SESSION['order_number_created']."'");        	
					zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL', true, false));
				}
				else
				{
					//订单成功
					$db->Execute("insert into " . TABLE_ORDERS_STATUS_HISTORY . " (comments, orders_id, orders_status_id, date_added) values ('Trans. ID:" . $this->v_oid . "\n Gross Amount:" . $this->v_amount . "\n Currency: " . MODULE_PAYMENT_PAYEASE_MONEYTYPE."\n Payment Status: Customer Confirmed". " ' , '". (int)$_SESSION['order_number_created'] . "','" . /*$this->order_status*/'2' . "', now() )");   
					$db->Execute("update " . TABLE_ORDERS . " set orders_status='" . '2' . "' where orders_id='" . $_SESSION['order_number_created']."'");       
				
				}
			}
			else
			{
				$messageStack->add_session('checkout_payment', 'Validate Error, Please Contract to us!', 'error');
				$db->Execute("insert into " . TABLE_ORDERS_STATUS_HISTORY . " (comments, orders_id, orders_status_id, date_added) values ('Trans. ID:" . $this->v_oid . "\n Gross Amount:" . $this->v_amount . "\n Currency: " . MODULE_PAYMENT_PAYEASE_MONEYTYPE."\n Payment Status: Validate error 2:". $this->v_pstring .'. '.$this->v_md5money.' '.$this->md5sign2. " ' , '". (int)$_SESSION['order_number_created'] . "','" . '1' . "', now() )");   
				$db->Execute("update " . TABLE_ORDERS . " set orders_status='" . '1' . "' where orders_id='" . $_SESSION['order_number_created']."'");        
				zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL', true, false));
			}
		}
		else
		{
			$messageStack->add_session('checkout_payment', 'Validate Error, Please Contract to us!', 'error');
			$db->Execute("insert into " . TABLE_ORDERS_STATUS_HISTORY . " (comments, orders_id, orders_status_id, date_added) values ('Trans. ID:" . $this->v_oid . "\n Gross Amount:" . $this->v_amount . "\n Currency: " . MODULE_PAYMENT_PAYEASE_MONEYTYPE."\n Payment Status: Validate error 1:". $this->v_pstring .'. '.$this->v_md5info.' '.$this->md5sign1. " ' , '". (int)$_SESSION['order_number_created'] . "','" . '1' . "', now() )");   
            $db->Execute("update " . TABLE_ORDERS . " set orders_status='" . '1' . "' where orders_id='" . $_SESSION['order_number_created']."'");        
			zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL', true, false));
		}
		//发邮件
	    $order->send_order_email($_SESSION['order_number_created'], 2);			
		$_SESSION['order_created'] = '';        
		return true;    

   }

   function output_error() {
     return false;
   }

   function check() {
     global $db;
     if (!isset($this->_check)) {
       $check_query = $db->Execute("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_PAYMENT_PAYEASE_STATUS'");
       $this->_check = $check_query->RecordCount();
     }
     return $this->_check;
   }

   function install() {
     global $db, $language, $module_type;
	 if (!defined('MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_1_1')) include(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/modules/' . $module_type . '/' . $this->code . '.php');

     $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_1_1 . "', 'MODULE_PAYMENT_PAYEASE_STATUS', 'True', '" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_1_2 . "', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");
     $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_2_1 . "', 'MODULE_PAYMENT_PAYEASE_SELLER', '4698', '" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_2_2 . "', '6', '2', now())");
     $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_3_1 . "', 'MODULE_PAYMENT_PAYEASE_MD5KEY', 'GyFRc2236583', '" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_3_2 . "', '6', '4', now())");
     $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_4_1 . "', 'MODULE_PAYMENT_PAYEASE_MONEYTYPE', 'USD', '" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_4_2 . "', '6', '4', 'zen_cfg_select_option(array(\'CNY\', \'USD\'), ', now())");
     $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_5_1 . "', 'MODULE_PAYMENT_PAYEASE_OSTYPE', 'Linux', '" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_5_2 . "', '6', '4', 'zen_cfg_select_option(array(\'Windows\', \'Linux\'), ', now())");
     $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_6_1 . "', 'MODULE_PAYMENT_PAYEASE_ZONE', '0', '" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_6_2 . "', '6', '6', 'zen_get_zone_class_title', 'zen_cfg_pull_down_zone_classes(', now())");
     $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, use_function, date_added) values ('" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_7_1 . "', 'MODULE_PAYMENT_PAYEASE_ORDER_STATUS_ID', '2', '" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_7_2 . "', '6', '10', 'zen_cfg_pull_down_order_statuses(', 'zen_get_order_status_name', now())");
     $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_8_1 . "', 'MODULE_PAYMENT_PAYEASE_SORT_ORDER', '0', '" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_8_2 . "', '6', '12', now())");
     $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_9_1 . "', 'MODULE_PAYMENT_PAYEASE_HANDLER', 'http://www.5upay.com/prs/e_user_payment.checkit', '" . MODULE_PAYMENT_PAYEASE_TEXT_CONFIG_9_2 . "', '6', '18', '', now())");


}

   function remove() {
     global $db;
     $db->Execute("delete from " . TABLE_CONFIGURATION . " where configuration_key LIKE  'MODULE_PAYMENT_PAYEASE%'");
   }

   function keys() {
     return array(
         'MODULE_PAYMENT_PAYEASE_STATUS',
         'MODULE_PAYMENT_PAYEASE_SELLER',
         'MODULE_PAYMENT_PAYEASE_MD5KEY',
         'MODULE_PAYMENT_PAYEASE_ZONE',
		 'MODULE_PAYMENT_PAYEASE_MONEYTYPE',
		 'MODULE_PAYMENT_PAYEASE_OSTYPE',
         'MODULE_PAYMENT_PAYEASE_ORDER_STATUS_ID',
         'MODULE_PAYMENT_PAYEASE_SORT_ORDER',
         'MODULE_PAYMENT_PAYEASE_HANDLER'
         );
   }
 }
?>